
<div id="component-add-edit">
    <div class="title">
        添加组件
    </div>
        <form action="__APP__/Component/insert" method="post">
            <input type="hidden" name="image" class="pic" readonly="readonly" />
            <table>
                <tr><th>组件名称：</th><td><input type="text" name="name" /></td></tr>
                <tr><th>组件别名：</th><td><input type="text" name="alias" /></td></tr>
                <tr><th>使用模型：</th><td>
                    <select name="model" class="move" style="margin-bottom: 5px;">
                        <volist name="componentlist" id="vo">
                            <option value="<{$vo}>"><{$vo}></option>
                        </volist>
                    </select>
                </td>
                </tr>
                <tr><th>使用操作：</th><td>
                    <select name="action" class="move">
                        <volist name="actions" id="vo">
                            <option value="<{$vo}>"><{$vo}></option>
                        </volist>
                    </select>
                </td></tr>
<!--                <tr><th style="vertical-align:top;"><a href="javascript:;" class="upload">添加封面</a>：</th>
                    <td class="img"><img width="132" height="75" src="__PUBLIC__/Content/Component/default.jpg" /></td></tr>-->
                <tr><th>分类排序：</th><td><input type="text" name="sort" value="0" /></td></tr>
                <tr><th>是否开启：</th><td><input type="radio" checked="checked" name="publish" value="1" />是
                    <input type="radio" name="publish" value="0" />否</td></tr>
                <tr><th style="vertical-align:top;">组件描述：</th><td><textarea name="description"></textarea></td></tr>
                <tr><td></td><td><input type="submit" class="submit" value="添加组件" /></td></tr>
            </table>
        </form>
</div>
<script type="text/javascript" src="../Public/js/component.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/ajaxupload.js"></script>
